package com.example.hello.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

@Controller
public class HelloWevController {


    @RequestMapping("/helloWeb")
    public  String  helloWeb(Map<String,Object> map){
        map.put("name","贵州理工学院");
        return "hello";
    }

    @RequestMapping("/testJSP")
    public String  helloJsp(){

        return "jsp/test";

    }
}
